package com.youxin.cpcenter.service.impl;

import com.youxin.busfoundation.bean.classify.ResponseCityBean;
import com.youxin.busfoundation.bean.region.RequestRegionBean;
import com.youxin.cpcenter.dao.TbConfigRegionNewMapper;
import com.youxin.cpcenter.service.RegionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @desc 区域服务
 * @author Kris.wang
 * @date 2017-12-06
 */
@Service("regionService")
public class RegionServiceImpl implements RegionService{
    @Autowired
	private TbConfigRegionNewMapper tbConfigRegionNewMapper;

    @Override
    public List<ResponseCityBean> selectByRegionIds(RequestRegionBean bean) {
        return tbConfigRegionNewMapper.selectByRegionIds(bean);
    }
}
